package model;

public class Goods {
    int goods_id;
    String created_at;
    String goods_image;
    String goods_info;
    String goods_category;
    int user_id;
    double goods_price;
    public Goods(int id, String createdAt, String image, String info, String category, double price) {
        this.goods_id = id;
        this.created_at = createdAt;
        this.goods_image = image;
        this.goods_info = info;
        this.goods_category = category;
        this.goods_price = price;
    }

    public Goods() {
    }

    public Goods(int goods_id, String created_at, String goods_image, String goods_info, String goods_category, int user_id, double goods_price) {
        this.goods_id = goods_id;
        this.created_at = created_at;
        this.goods_image = goods_image;
        this.goods_info = goods_info;
        this.goods_category = goods_category;
        this.user_id = user_id;
        this.goods_price = goods_price;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getGoods_image() {
        return goods_image;
    }

    public void setGoods_image(String goods_image) {
        this.goods_image = goods_image;
    }

    public String getGoods_info() {
        return goods_info;
    }

    public void setGoods_info(String goods_info) {
        this.goods_info = goods_info;
    }

    public String getGoods_category() {
        return goods_category;
    }

    public void setGoods_category(String goods_category) {
        this.goods_category = goods_category;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public double getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(double goods_price) {
        this.goods_price = goods_price;
    }
}
